const express = require('express');
const router = express.Router();

// https://www.expressjs.com.cn/guide/using-middleware.html#middleware.router
router.use(function (req, res, next) {
    console.log('Time:', Date.now());
    next();
});

router.get('/', async function (req, res, next) {
    res.send('r1');
});

module.exports = router;